<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:64:"/www/htdocs/myb/public/../application/cdyoa/view/orders/add.html";i:1480386336;s:60:"/www/htdocs/myb/public/../application/cdyoa/view/layout.html";i:1480386307;s:65:"/www/htdocs/myb/public/../application/cdyoa/view/layout/head.html";i:1480386334;s:65:"/www/htdocs/myb/public/../application/cdyoa/view/layout/foot.html";i:1480386334;}*/ ?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="/vendor/html5.js"></script>
<script type="text/javascript" src="/vendor/respond.min.js"></script>
<script type="text/javascript" src="/vendor/PIE_IE678.js"></script>
<![endif]-->
<!-- h-ui框架 -->
<link rel="stylesheet" type="text/css" href="/static/admin/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="/vendor/Hui-iconfont/1.0.8/iconfont.css" />

<!-- h-ui后台样式 -->
<link rel="stylesheet" type="text/css" href="/static/admin/skin/default/skin.css"/>
<link rel="stylesheet" type="text/css" href="/static/admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="/vendor/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->

<!-- layui -->
<link rel="stylesheet" type="text/css" href="/vendor/layui/css/layui.css" />

<!-- jquery -->
<script type="text/javascript" src="/vendor/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="/static/admin/js/H-ui.js"></script>

<!-- iphone开关 -->
<link rel="stylesheet" type="text/css" href="/vendor/bootstrap-Switch/bootstrapSwitch.css" />
<script language="javascript" src="/vendor/bootstrap-Switch/bootstrapSwitch.js"></script>

<!-- 编辑器插件 -->
<link rel="stylesheet" href="/vendor/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="/vendor/kindeditor/kindeditor-all-min.js"></script>

<!-- loading插件 start -->
<script type="text/javascript" src="/vendor/jquery.ShowLoading/1.0/jquery.ShowLoading.js"></script>
<link href="/vendor/jquery.ShowLoading/1.0/jquery.ShowLoading.css" rel="stylesheet">
<!-- loading插件 end -->
<style>
table .Hui-iconfont{font-size:20px;}
table td a.ml-5{text-decoration:none;}
#com_body .bgtr td{color:red;}
</style>
<title>内页框架</title>
</head>
<body>
<?php if(isset($nav)):?>
<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 
	首页 
	<span class="c-gray en">&gt;</span> 
	<?php echo isset($nav[0])? $nav[0] : "未定义";?> 
	<span class="c-gray en">&gt;</span> 
	<?php echo isset($nav[1])? $nav[1] : "未定义";?>
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
	<i class="Hui-iconfont">&#xe68f;</i>
	</a>
</nav>
<?php endif;?>
	<style>
.layui-form-label{width: 140px;}
.layui-input-block{margin-left: 170px;}
</style>
<article class="page-container">
	<form class="layui-form" enctype="multipart/form-data" method="post"  action="<?php echo url('orders/add'); ?>">
	  <div class="layui-form-item">
	    <label class="layui-form-label">订单编号</label>
	    <div class="layui-input-block">
      		<input class="layui-input" type="text" required  lay-verify="required" name="order_no" placeholder="请输入序号" value="">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">订单</label>
	    <div class="layui-input-block">
      		<input class="layui-input" type="text" name="title" required  lay-verify="required" placeholder="请输入标题" value="">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">合同号</label>
	    <div class="layui-input-block">
      		<input class="layui-input" type="text" name="contract_no" placeholder="请输入合同号" value="">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">数量</label>
	    <div class="layui-input-block">
	    	<div style="width:150px;">
      		<input class="layui-input" type="text" name="nums" required  lay-verify="required" placeholder="请输入数量" value="">
      		</div>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">售价(美元)</label>
	    <div class="layui-input-block">
	    	<div style="width:150px;">
      		<input class="layui-input" type="text" name="us_sale_price" required  lay-verify="required" placeholder="￥" value="">
      		</div>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">售价(人民币)</label>
	    <div class="layui-input-block">
	    	<div style="width:150px;">
      		<input class="layui-input" type="text" name="sale_price"  placeholder="￥" value="">
      		</div>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">FOB</label>
	    <div class="layui-input-block">
	    	<div style="width:150px;">
      		<input class="layui-input" type="text" name="fob" placeholder="￥" value="">
      		</div>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">海运价格</label>
	    <div class="layui-input-block">
	    	<div style="width:150px;">
      		<input class="layui-input" type="text" name="haiyun" placeholder="￥" value="">
      		</div>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">是否指定货代</label>
	    <div class="layui-input-block">
      		<input type="radio" name="is_zd" value="1" title="是" checked="">
      		<input type="radio" name="is_zd" value="0" title="否">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">附件</label>
	    <div class="layui-input-block">
	    	<?php echo com_c_up(url('c/up', 'dir=default&f=attach&thumb=0')); ?>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">内容</label>
	    <div class="layui-input-block">
	    	<textarea  id="layedit1"  style="height:400px;" _url="<?php echo url('c/editup','dir=editor'); ?>" lay-verify="textarea1" name="content" placeholder="请输入内容" class="layui-textarea"></textarea>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <div class="layui-input-block">
	      <button class="layui-btn" lay-submit lay-filter="form">提交</button>
	    </div>
	  </div>
	</form>
</article>
</body>
<script type="text/javascript" src="/vendor/layui/layui.js"></script>
<script type="text/javascript" src="/vendor/layui/lay/dest/layui.all.js"></script>   
<script type="text/javascript" src="/vendor/cfunction.js"></script>
</html>